package com.atguigu.service;

import com.atguigu.pojo.NginxServiceConfigTcpProxy;
import com.atguigu.pojo.Page;

import java.util.List;

public interface NginxServiceConfigTcpProxyService {
    public void addNginxServiceConfigTcpProxy(NginxServiceConfigTcpProxy nginxServiceConfigTcpProxy);
    public void updateNginxServiceConfigTcpProxy(NginxServiceConfigTcpProxy nginxServiceConfigTcpProxy);
    public void deleteNginxServiceConfigTcpProxyById(String id);
    public NginxServiceConfigTcpProxy queryNginxServiceConfigTcpProxyById(String id);
    public List<NginxServiceConfigTcpProxy> queryNginxServiceConfigTcpProxys();
    public List<NginxServiceConfigTcpProxy> queryNginxServiceConfigTcpProxiesByServiceId(String serviceId);
    public List<NginxServiceConfigTcpProxy> queryNginxServiceConfigTcpProxiesByFrontPort(String frontPort);
    public List<NginxServiceConfigTcpProxy> queryNginxServiceConfigTcpProxiesByServiceIdFrontDomainPort(String serviceId,String frontDomain,String frontPort);
    public Page page(Integer pageNo, Integer pageSize);
}
